/*
 * @Author       : xxsoftware
 * @Date         : 2023-07-03 22:13:13
 * @LastEditors  : xxsoftware
 * @LastEditTime : 2023-07-26 16:26:03
 * @FilePath     : \site\docs\.vitepress\theme\index.js
 * @Description  :
 */

import DefaultTheme from 'vitepress/theme';
import './style.css';
import XXUI from 'xxsw-ui';
export default {
    ...DefaultTheme,
    enhanceApp: async ({ app }) => {
        // app is the Vue 3 app instance from `createApp()`. router is VitePress'
        // custom router. `siteData`` is a `ref`` of current site-level metadata.
        app.use(XXUI);
    }
};
